package com.nowcoder.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @Author liujilong
 * @Project nowcoder
 * @File Message
 * @Date 2022/1/19 1:44 下午
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class Message  {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String fromUid;

    private String toUid;

    private String conversationId;

    private String content;

    private Integer status;

    private Date createTime;
}
